package cn.iocoder.yudao.module.member.eid.vo;

import cn.iocoder.yudao.framework.validation.CitizenIdCard;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotEmpty;
import lombok.Data;

@Schema(description = "实名信息新增 Request VO")
@Data
public class AppEidSaveReqVO {

    @Schema(description = "真实姓名", requiredMode = Schema.RequiredMode.REQUIRED, example = "李四")
    @NotEmpty(message = "真实姓名不能为空")
    private String realName;

    @Schema(description = "身份证号码", requiredMode = Schema.RequiredMode.REQUIRED, example = "522426199*1104****")
    @NotEmpty(message = "身份证号码不能为空")
    @CitizenIdCard
    private String idcardNo;

    @Schema(description = "身份证正面图片地址", example = "https://example.local")
    private String idcardFrontUrl;

    @Schema(description = "身份证反面图片地址", example = "https://example.local")
    private String idcardBackUrl;

}
